<?php

namespace App\Transformers\IdentityPermissionList;

use App\Models\IdentityPermissionListModel;
use League\Fractal\TransformerAbstract;

class ShowTransformer extends TransformerAbstract
{
    public function transform(IdentityPermissionListModel $identityPermissionList) {
        return [
            'identity_id'           =>  $identityPermissionList->identity_id,
            'permission_list_id'    =>  $identityPermissionList->permission_list_id,
        ];
    }

}